<% for column in User.content_columns %>
  <% if column.name != "hashed_password" and column.name != "salt" and column.name != "hashed_password" %>
  <p>
    <b><%= column.human_name %>:</b> <%=h @student.send(column.name) %>
  </p>
   <% end %>
<% end %>

<%= link_to 'Delete', :action => 'delete_student', :id => @student %> |
<%= link_to 'Back', :action => 'list_student' %>
